package com.example.entity;

public class Post {
    /*编号*/
    private Integer id;
    /*用户编号*/
    private Integer uid;

    /*帖子分类编号*/
    private Integer pcid;
    /*帖子名称*/
    private String name;
    /*帖子内容*/
    private String content;
    /*图片*/
    private String img;
    /*阅读量*/
    private String yuedu;
    /*用户名称*/
    private String username;
    /*分类名称*/
    private String categoryname;
    private String createtime;


    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    private String avatar;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getPcid() {
        return pcid;
    }

    public void setPcid(Integer pcid) {
        this.pcid = pcid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getYuedu() {
        return yuedu;
    }

    public void setYuedu(String yuedu) {
        this.yuedu = yuedu;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getCategoryname() {
        return categoryname;
    }

    public void setCategoryname(String categoryname) {
        this.categoryname = categoryname;
    }
}
